package com.ksm.client;

import com.google.gwt.inject.client.AbstractGinModule;
import com.ksm.client.document.presenter.DocumentContainerPresenter.IDocumentContainerView;
import com.ksm.client.document.presenter.DocumentFormPresenter;
import com.ksm.client.document.presenter.DocumentFormPresenter.IDocumentFormView;
import com.ksm.client.document.presenter.DocumentGridPresenter;
import com.ksm.client.document.presenter.DocumentGridPresenter.IDocumentGridView;
import com.ksm.client.document.presenter.DocumentJustificatifPresenter;
import com.ksm.client.document.presenter.DocumentJustificatifPresenter.IDocumentJustificatifView;
import com.ksm.client.document.presenter.DocumentPreviewPresenter;
import com.ksm.client.document.presenter.DocumentPreviewPresenter.IDocumentPreviewView;
import com.ksm.client.document.presenter.DocumentSearchPresenter;
import com.ksm.client.document.presenter.DocumentSearchPresenter.IDocumentSearchView;
import com.ksm.client.document.presenter.IDocumentFormPresenter;
import com.ksm.client.document.presenter.IDocumentGridPresenter;
import com.ksm.client.document.presenter.IDocumentJustificatifPresenter;
import com.ksm.client.document.presenter.IDocumentPreviewPresenter;
import com.ksm.client.document.presenter.IDocumentSearchPresenter;
import com.ksm.client.document.view.DocumentContainerView;
import com.ksm.client.document.view.DocumentFormView;
import com.ksm.client.document.view.DocumentGridView;
import com.ksm.client.document.view.DocumentJustificatifView;
import com.ksm.client.document.view.DocumentPreviewView;
import com.ksm.client.document.view.DocumentSearchView;
import com.ksm.client.presenter.IMainPresenter;
import com.ksm.client.presenter.MainPresenter;

public class ManagerGinModule extends AbstractGinModule {

	@Override
	protected void configure() {

		bind(IMainPresenter.class).to(MainPresenter.class);
		bind(IDocumentSearchPresenter.class).to(DocumentSearchPresenter.class);
		bind(IDocumentFormPresenter.class).to(DocumentFormPresenter.class);
		bind(IDocumentGridPresenter.class).to(DocumentGridPresenter.class);
		bind(IDocumentPreviewPresenter.class).to(DocumentPreviewPresenter.class);
		bind(IDocumentJustificatifPresenter.class).to(DocumentJustificatifPresenter.class);

		// Document screen
		bind(IDocumentContainerView.class).to(DocumentContainerView.class);
		bind(IDocumentSearchView.class).to(DocumentSearchView.class);
		bind(IDocumentGridView.class).to(DocumentGridView.class);
		bind(IDocumentFormView.class).to(DocumentFormView.class);
		bind(IDocumentJustificatifView.class).to(DocumentJustificatifView.class);
		bind(IDocumentPreviewView.class).to(DocumentPreviewView.class);

	}

}
